home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / AppDomainLoader / TestPkgClass.pas < prev   
Encoding:
Pascal/Delphi Source File  |  2004-10-22  |  503 b   |  29 lines

  1. unit TestPkgClass;
  2.  
  3. interface
  4.   uses System.Runtime.Serialization;
  5.  
  6. type
  7.   [Serializable]
  8.   TClass1 = class(MarshalByRefObject)
  9.   public
  10.     constructor Create;
  11.     class procedure SayItStatically; static;
  12.   end;
  13.  
  14. implementation
  15.   uses System.Windows.Forms;
  16.  
  17. constructor TClass1.Create;
  18. begin
  19.   inherited Create;
  20.   // TODO: Add any constructor code here
  21. end;
  22.  
  23. class procedure TClass1.SayItStatically;
  24. begin
  25.   MessageBox.Show('Borland Delphi 8 for .NET rocks!!!');
  26. end;
  27.  
  28. end.
  29.